﻿. "C:\Scripts\SP13Config.ps1"
. "C:\Scripts\BuildFunctions.ps1"

Install-ADDS -DomainName $DomainName -DSRMPassword $DomainPassword -NetBiosName $NetBiosName
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -Name "SystemSetupStep" -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe & C:\Start-PhaseThree.ps1"
Restart-Computer